<?php
$baseUrl = Yii::app()->request->baseUrl;
?>

<?php
if (!empty($categoryR)) {
    $this->widget('bootstrap.widgets.TbBreadcrumbs', array(
        'links' => array($categoryR->name => array('/product/' . $categoryR->id . '/' . $categoryR->alias . '.html'), $category->name),
        'htmlOptions' => array('id' => 'breadcrumb')
    ));
} else {
    $this->widget('bootstrap.widgets.TbBreadcrumbs', array(
        'links' => array($category->name),
        'htmlOptions' => array('id' => 'breadcrumb')
    ));
}
?>
<h4><?php echo $category->name ?> </h4>
<ul class="thumbnails">
    <?php
    $this->widget('ext.isotope.Isotope', array(
        'dataProvider' => $dataProvider,
        'itemView' => '_view',
        'itemSelectorClass' => 'item',
        'options' => array(), // options for the isotope jquery
        'infiniteScroll' => true, // default to true
        'infiniteOptions' => array(), // javascript options for infinite scroller
        'id' => 'wall',
    ));
//    $this->widget('bootstrap.widgets.TbListView', array(
//        'id' => 'list',
//        'dataProvider' => $dataProvider,
//        'itemView' => '_view',
//        'template' => "{items}\n{pager}",
//        'pager' => array(
//            'class' => 'ext.infiniteScroll.IasPager',
//            'rowSelector' => '.row',
//            'listViewId' => 'list',
//            'header' => '',
//            'loaderText' => 'Loading...',
//            'options' => array('history' => false, 'triggerPageTreshold' => 2, 'trigger' => 'Load more'),
//        )
//    ));
    ?>
</ul>